package managers;

import java.sql.SQLException;
import java.util.List;

import workspace.Workspace;
import beans.Tipus;

public interface TipusManager {

	public Tipus insertTipus(Workspace workspace, Tipus newTipus)
			throws SQLException;

	public Tipus updateTipus(Workspace workspace, Tipus updatedTipus)
			throws SQLException;

	public boolean deleteTipus(Workspace workspace, long userId)
			throws SQLException;

	List<Tipus> loadTipusLista(Workspace workspace) throws SQLException;

	public boolean deleteTipusForTest(Workspace workspace, long userId)
			throws SQLException;

}
